package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class WithOrWithoutData {

    private int beginIndex;
    private int endIndex;
    private boolean withNoData;
    private boolean withData;

    public WithOrWithoutData(int beginIndex,
                             int endIndex,
                             boolean withNoData,
                             boolean withData) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.withNoData = withNoData;
        this.withData = withData;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isWithNoData() {
        return withNoData;
    }

    public boolean isWithData() {
        return withData;
    }

}
